<!--
 * @Author: 李天
 * @Date: 2021-12-20 09:26:49
 * @LastEditTime: 2022-04-22 17:34:05
 * @LastEditors: 李天
 * @Description: 
-->
<div id="vue-collapse">
    <div class="collapse_header">
        <div class="collapse_left_block dynamic-form-blockquote">
        </div>
        <div class="collapse_left_box">
            <div class="collapse_icon" @click="show = !show">
                <a class="collapse-btn eliconfont "
                    :class="show ? 'icon-angledoubledown' : 'icon-angledoubleright'"></a>
            </div>
            <div class="collapse_tit">
                <slot name="title">{{title}}</slot>
            </div>
            <div v-if="btnShow" style="margin-left:100px; margin-top: 2px;">
                <el-button class="save-btn" size="mini" @click="clickFun(parmars)">查看详情</el-button>
            </div>
        </div>

    </div>
    <transition name="el-fade-in">
        <div class="collapse-content" :class="{'collapse-content-active':show===true}" v-show="show ">
            <slot name="content"></slot>
        </div>
    </transition>
</div>